load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")

oncall("fboss_agent_push")

cpp_library(
    name = "galaxy_platform_mapping",
    srcs = [
        "GalaxyFCPlatformMappingCommon.cpp",
        "GalaxyLCPlatformMappingCommon.cpp",
        "facebook/GalaxyFCPlatformMapping.cpp",
        "facebook/GalaxyLCPlatformMapping.cpp",
    ],
    headers = [
        "GalaxyFCPlatformMapping.h",
        "GalaxyLCPlatformMapping.h",
    ],
    exported_deps = [
        "fbsource//third-party/re2:re2",
        "//fboss/agent:fboss-error",
        "//fboss/agent:utils",
        "//fboss/agent/platforms/common:platform_mapping",
        "//folly:file_util",
        "//folly/json:dynamic",
        "//neteng/netwhoami/lib/cpp:recover",
    ],
    exported_external_deps = [
        ("boost", None, "boost_algorithm"),
    ],
)
